package com.taiyuan.zfmvp.controller;

import lombok.Data;

import javax.validation.constraints.NotEmpty;

/**
 * @author Administrator
 */
@Data
public class DriverAPIDTO {

    private String partyCode ;

//    @ApiModelProperty(value = "司机编码")
//    private String driverCode ;

    @NotEmpty(message = "姓名不能为空")
    private String name;

    @NotEmpty(message = "联系方式不能为空")
    private String phone;

    private String upass = "QCFhYmNkMTIzNA==";

//    @NotEmpty(message = "工作单位不能为空")
    private String workCompany;

//    @NotEmpty(message = "身份证号不能为空")
    private String identificationNumber;

//    @NotEmpty(message = "身份证到期日期不能为空 格式yyyy-MM-dd")
    private String idCardDueDate;

//    @NotEmpty(message = "所在区域（省行政代码）不能为空")
    private String provinceCode;

//    @NotEmpty(message = "所在区域（市行政代码）不能为空")
    private String cityCode;

//    @NotEmpty(message = "所在区域（县行政代码）不能为空")
    private String countyCode;

//    @NotEmpty(message = "详细地址不能为空")
    private String homeAddress;

//    @NotEmpty(message = "从业资格证号不能为空")
    private String workLicense;

    private String workLicenseDueDate;

    private String vehicleClass;

    private String issuingOrganizations;

    private String driverLicenseFromDate;

    private String driverLicenseDueDate;

    private String driverLicense;

//    @NotEmpty(message = "身份证正面照不能为空")
    private String identificationImg;

//    @NotEmpty(message = "身份证背面照不能为空")
    private String identificationBackImg;

//    @NotEmpty(message = "司机照片不能为空")
    private String driverImg;

//    @NotEmpty(message = "司机驾驶证图片不能为空")
    private String driverLicenseImg;

//    @NotEmpty(message = "从业资格证照片不能为空")
    private String workLicenseImg;

    private Integer driverType = 0;

    @NotEmpty(message = "车牌号不能为空")
    private String licenseNumber;

    @NotEmpty(message = "车辆可载重量不能为空")
    private String loadWeight;


//    @ApiModelProperty(value = "车辆信息")
//    @NotNull(message = "车辆信息不能为空")
//    private VehicleAPIDTO vehicleDTO;

    @NotEmpty(message = "签名数据不能为空")
    private String signature;
}
